package com.efast.dmom.mes.entity;

import java.time.LocalDateTime;

import com.efast.dmom.mes.entity.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;

/**
 * 备件出库
 * @author Administrator
 *
 */
public class EquipSpareOutboundEntity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3490965690723355295L;

	private String outboundNumber;

	@JsonDeserialize(using = LocalDateDeserializer.class)
	@JsonSerialize(using = LocalDateSerializer.class)
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime outboundTime;

	private long warehouseId;

	private String outboundStyle;

	private String outboundUser;

	private int outboundQuantity;

	private long spareId;

	private String outboundStatus;

	private String outboundReason;

	private String spareCategory;
    
	private String cutterType;
	private String cutterCode;

	private String spareCode;
	private String spareName;
	private String spareSpecifications;
	private String unit;
	private String warehouseName;
	private long operationId;
	private String operationName;
	private String recipient;
	private String realName;
	private double unitPrice;
	public String getOutboundNumber() {
		return outboundNumber;
	}
	public void setOutboundNumber(String outboundNumber) {
		this.outboundNumber = outboundNumber;
	}
	public LocalDateTime getOutboundTime() {
		return outboundTime;
	}
	public void setOutboundTime(LocalDateTime outboundTime) {
		this.outboundTime = outboundTime;
	}
	public long getWarehouseId() {
		return warehouseId;
	}
	public void setWarehouseId(long warehouseId) {
		this.warehouseId = warehouseId;
	}
	public String getOutboundStyle() {
		return outboundStyle;
	}
	public void setOutboundStyle(String outboundStyle) {
		this.outboundStyle = outboundStyle;
	}
	public String getOutboundUser() {
		return outboundUser;
	}
	public void setOutboundUser(String outboundUser) {
		this.outboundUser = outboundUser;
	}
	public int getOutboundQuantity() {
		return outboundQuantity;
	}
	public void setOutboundQuantity(int outboundQuantity) {
		this.outboundQuantity = outboundQuantity;
	}
	public long getSpareId() {
		return spareId;
	}
	public void setSpareId(long spareId) {
		this.spareId = spareId;
	}
	public String getOutboundStatus() {
		return outboundStatus;
	}
	public void setOutboundStatus(String outboundStatus) {
		this.outboundStatus = outboundStatus;
	}
	public String getOutboundReason() {
		return outboundReason;
	}
	public void setOutboundReason(String outboundReason) {
		this.outboundReason = outboundReason;
	}
	public String getSpareCategory() {
		return spareCategory;
	}
	public void setSpareCategory(String spareCategory) {
		this.spareCategory = spareCategory;
	}
	public String getCutterCode() {
		return cutterCode;
	}
	public void setCutterCode(String cutterCode) {
		this.cutterCode = cutterCode;
	}
	public String getSpareCode() {
		return spareCode;
	}
	public void setSpareCode(String spareCode) {
		this.spareCode = spareCode;
	}
	public String getSpareName() {
		return spareName;
	}
	public void setSpareName(String spareName) {
		this.spareName = spareName;
	}
	public String getSpareSpecifications() {
		return spareSpecifications;
	}
	public void setSpareSpecifications(String spareSpecifications) {
		this.spareSpecifications = spareSpecifications;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getWarehouseName() {
		return warehouseName;
	}
	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}
	public long getOperationId() {
		return operationId;
	}
	public void setOperationId(long operationId) {
		this.operationId = operationId;
	}
	public String getOperationName() {
		return operationName;
	}
	public void setOperationName(String operationName) {
		this.operationName = operationName;
	}
	public String getRecipient() {
		return recipient;
	}
	public void setRecipient(String recipient) {
		this.recipient = recipient;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public double getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}
	public String getCutterType() {
		return cutterType;
	}
	public void setCutterType(String cutterType) {
		this.cutterType = cutterType;
	}
}
